﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace vanE_ManCa
{
    class vanE_Utility
    {
        public static void SetFormSize(Form fm)
        {
            int wScreen, hScreen;
            //Get size width of screen
            wScreen = Screen.PrimaryScreen.Bounds.Width;
            //Get size heigh of screen
            hScreen = Screen.PrimaryScreen.Bounds.Height;
            //Set position form          
            fm.Location = new Point(0, 0);
            fm.Width = wScreen;
            fm.Height = hScreen-50;      
     
     
            
        }
    }
}
